<?php /* Smarty version Smarty-3.1.8, created on 2012-03-21 15:45:34
         compiled from "./templates/settings.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6689109044f69026e8afd91-33444581%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '05f0b42a6d6267bc296e925cc75c4cfa492835f5' => 
    array (
      0 => './templates/settings.tpl',
      1 => 1332341131,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6689109044f69026e8afd91-33444581',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4f69026e954896_65085835',
  'variables' => 
  array (
    'username' => 0,
    'oldPasswordMessage' => 0,
    'message' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f69026e954896_65085835')) {function content_4f69026e954896_65085835($_smarty_tpl) {?><?php if (!is_callable('smarty_function_validate')) include '/home/FER/mg44268/public_html/smarty3/plugins/function.validate.php';
?><html>
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Terenac</title>
		<link rel="stylesheet" href="css/styleLogin.css" type="text/css" />
    </head>
    <body>
		<div class="page">
			<div class="header">
				<a href="index.html" id="logo"><img src="images/logo1.png" alt="Terenac"/></a>
                                <ul>
                                <li><a href="index.php">Back</a></li>
                                </ul>
			</div>
			<div class="body">
                            <h1>Settings</h1>
                            <form method="POST">
                            <table>
                                <tr id="height">
                                    <td>Username:</td>
                                    <td><input class="input" type="text" name="username1" value="<?php echo $_smarty_tpl->tpl_vars['username']->value;?>
" disabled="disabled"/></td>            
                               </tr>
                               <tr id="height">
                                   <td>Old password:</td> 
                                   <td><input class="input" type="password" name="oldPassword"/>
                                    <?php echo $_smarty_tpl->tpl_vars['oldPasswordMessage']->value;?>
</td></td>
                               </tr>
                               <tr id="height">
                                   <td>Password:</td> 
                                   <td><input class="input" type="password" name="pass"/>
                                    <?php echo smarty_function_validate(array('id'=>"passwordLength",'message'=>"Password is too short, minimum 4 characters required"),$_smarty_tpl);?>

                                    <?php echo smarty_function_validate(array('id'=>"passwordMatch",'message'=>"Passwords dont match"),$_smarty_tpl);?>
</td></td>
                               </tr> 
                               <tr id="height">
                                   <td>Password again:</td> 
                                   <td><input class="input" type="password" name="pass2"/></td>
                              </tr>
                               <tr id="height"><td></td>
                                  <td id="centriranje"><input class="button" type="submit" value="Change password"/><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</td>
                               </tr>
                                </table>
                            </form>
                        </div>
                        <div class="footer">
				<p class="paragraphcenter">&#169; Copyright &#169; 2012. Terenac all rights reserved</p>
			</div>
    </body>
</html><?php }} ?>